package com.cykj.pos.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cykj.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_wx_lication")
public class WxLication implements Serializable {
    private static final long serialVersionUID=1L;
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 邀请码
     */
    @Excel(name = "app_id")
    private String appId;

    /**
     * 用户商编
     */
    @Excel(name = "app_secret")
    private String appSecret;

    /**
     * 外部订单号
     */
    @Excel(name = "token")
    private String accessToken;

    /**
     * 外部订单号
     */
    @Excel(name = "nonceStr")
    private String nonceStr;

    /**
     * 外部订单号
     */
    @Excel(name = "token")
    private Date appTime;

    /**
     * 外部订单号
     */
    @Excel(name = "jsapi_ticket")
    private String jsapiTicket;

    /**
     * 外部订单号
     */
    @Excel(name = "ticketTime")
    private Date ticketTime;

    /**
     * url
     */
    @Excel(name = "url")
    private String url;

    /**
     * 签名
     */
    @Excel(name = "url")
    private String signature;
    /**
     * 时间戳
     */
    @Excel(name = "url")
    private String timestamp;
}
